package org.telegram.bot.mq.message;

import com.ruoyi.common.mq.pubsub.AbstractChannelMessage;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author: wyx
 * @Date: 2024/12/2 1:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GroupCacheRefreshMessage extends AbstractChannelMessage {
    
    private List<Long> chatIds;
    
    
    /**
     * 获得 Redis Channel
     *
     * @return Channel
     */
    @Override
    public String getChannel() {
        return "bot.group-cache-send";
    }
}
